/* 
 * @File Compression is the process of encoding information using fewer bits
 * than the original representation would use. It's science stuff.
 */

#ifndef COMPRESS_H
#define	COMPRESS_H

/**
 * Generates the encoding for the given occurrences of symbols.
 *
 * @param occurence - The occurence of the ANSI-symbols in the source data.
 * @return An array containing the codes for each symbols as a string of
 *         0 and 1. The index is equal to the integer value of the ANSY-symbol.
 */
extern char **get_encoding(int occurrence[]);

#endif	/* COMPRESS_H */
